import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';


class ExceptionPageComponent extends StatelessWidget {
  final String exception;
  final String stack;

  const ExceptionPageComponent(this.exception, this.stack, {Key? key, }) : super(key: key);
  @override
  Widget build(BuildContext context) {
    return Container(
      color: Colors.white,
      width: 750.w,
      height: 1334.h,
      child: SingleChildScrollView(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Text(
              exception,
              style: const TextStyle(color: Colors.black),
            ),
            Text(
              stack,
              style: const TextStyle(color: Colors.blue),
            ),
          ],
        ),
      ),
    );
  }
}
